package org.finesys.system.api.tenant;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 租户用户角色关联表实体bean
 */
@Accessors(chain = true)
@Data
@TableName("sys_tenant_user_role")
public class SysTenantUserRole implements Serializable {
    @TableField(exist = false)
    private static final long serialVersionUID = -943292546237484927L;
    // 租户ID
    @Schema(description = "租户ID")
    private Long tenantId;

    // 用户id
    @Schema(description = "用户Id")
    private Long userId;

    // 角色id
    @Schema(description = "角色Id")
    private Long roleId;

}
